@import 'color.less';
//点击投票按钮-心
button{ 
    position: relative;
    overflow: initial;
    span{
        position: absolute;
        top:-10px;
        right: 10px;
        display:block;
        width: 0px;
        height: 0px;
        background: url(../img/love.png) no-repeat center center;
        background-size:cover;
        transition:width 0.5s, height 0.5s, right 0.5s, top 0.5s, opacity 0.5s;
        -moz-transition: width 0.5s, height 0.5s, right 0.5s, top 0.5s, opacity 0.5s;  /* Firefox 4 */
        -webkit-transition:width 0.5s, height 0.5s, right 0.5s, top 0.5s, opacity 0.5s;   /* Safari 和 Chrome */
        -o-transition:width 0.5s, height 0.5s, right 0.5s, top 0.5s, opacity 0.5s;
    }
}
.bannerbox{
    width: 100%;
    height: auto;
    overflow: hidden;
    vertical-align:top;
    img{
        float: left;
        position: relative;
        z-index: 10;
        height:auto;
        width: 100%;
        vertical-align: inherit;
        pointer-events: none;
    } 
}
//活动数据
.activeshow{
    display: flex;
    height: auto;
    margin: 10px 0;
    h1{
        flex: 1;
        display: inline-block;
    }
    p{
        display: inline-block;       
        height:90px;
        width: 90px;
        border-radius:50%;
        background: @bigbg;
    }
    span{
        height: 30px;
        line-height: 30px;
        text-align: center;
        display: block;
        color: #fff;
    }
    &-title{
        margin-top: 15px; 
    }
}
//活动搜索
.activesearch{
    width: 100%;
    height:36px;
    margin: 20px 0;
    display: flex;
    &-left{
        width: 68%;
        height: 36px;
        margin-left: 20px;
    }
    input{
        color: #b28fce;
        width: 98%;
        height: 34px;
        color: #b28fce;
        text-indent: 16px;
        border-radius: 4px;
        border: 1px solid @searchborder;
        outline: none;
    }
    input::-webkit-input-placeholder{
        color:#b28fce; 
    }
    input::-moz-placeholder{   /* Mozilla Firefox 19+ */
        color:#b28fce;
    }
    input:-moz-placeholder{    /* Mozilla Firefox 4 to 18 */
        color:#b28fce;
    }
    input:-ms-input-placeholder{  /* Internet Explorer 10-11 */ 
        color:#b28fce;
    }
    &-right{
        flex:1;
        height: 36px;
        margin-right: 20px;
        position: relative;
    }
    button{
        position: absolute;
        top:0;
        left: 2%;
       height: 34px;
       outline: none;
       display: inline-block;
       width:96%; 
       height: 36px;
        border-radius: 4px;
        border: 1px solid @searchborder;
        background:#fff url(../img/search.png) no-repeat center center;
        background-size: 20px;
        position: absolute;
    }
}

//按钮盒子
.btnbox{
    position: relative;
    height: 34px;
    overflow: hidden;
    transition: height 0.5s;
    -moz-transition: height 0.5s;  /* Firefox 4 */
    -webkit-transition: height 0.5s;   /* Safari 和 Chrome */
    -o-transition: height 0.5s;
    button{
        width: 40%;
        height: 34px;
        border-radius: 4px;
        border: none;
        position: absolute;
        top:0;
    }
    button:first-child{
         left: 20px;
         background:#fff url(../img/sort.png) no-repeat 15px center;
         background-size: 20px;
    }
    button:last-child{
        display: inline-block;
        right: 20px;
         background:#fff url(../img/change.png) no-repeat 25px center;
         background-size: 20px;
    }
}
//标题盒子
.titlebox{
    height: 46px;
    width: 100%;
    margin: 20px 0 0px;
    overflow: hidden;
    position: relative;
    img{
        width: 100%;
        pointer-events: none;
        position: absolute;left: -5%;
        top:2px;
    }
    .titlebg2{
        left: 95%;
    }
    span{
    display: block;
    position: absolute;
    height: 100%;
    left: 50%;
    top: 0px;
    width: 120px;
    background:#DEC1ED url(../img/textbg.png) no-repeat center top;
    background-size: 114px;
    margin-left: -60px;
    color: #fff;
    line-height:42px;
    text-align: center;
    }
}
//列表盒子
.listbox{
    width: 100%;
    height:auto;
    position: relative;
    overflow: hidden;
}
//新用户列表
.applylist{
    position:absolute;
    top:0px;
    left: 0;
    width: 100%;
    height: 620px;
    ul{
        margin:  10px 20px 20px;
        overflow: hidden;
    }
    li{
        width: 48%;
        float: left;
        overflow: hidden;
        background: #fff;
        border-radius: 16px;
        padding-top: 12px;
        margin-top: 12px;
    }
    li:nth-of-type(odd){
    }
    li:nth-of-type(even){
        float: right;
    }
    p:first-child{
        height: 160px;
        line-height: 160px;
        width:80%;
        margin: 0 10%;
        vertical-align: top;
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 10px;
    }
    img{
        width: 100%;
        vertical-align: middle;
        border-radius:8px;
    }
    p{
        text-align: center;
        font-size: 12px;
        overflow: hidden;
        text-overflow:ellipsis;
        white-space: nowrap;
        height: 20px;
        line-height: 20px;
    }
    p:nth-of-type(2){
        padding: 0 20px;
    }
    p:last-child{
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        margin-bottom: 5px;
        overflow: initial;
    }
    button{
        background: url(../img/btnbg.png) no-repeat center center;
        border-radius: 4px;
        color: #fff;
        border: none;
        display: block;
        margin: 6px auto;
        height: 28px;
        line-height: 26px;
        width: 66%;
        background-size: 100%;
    }
}
//选手排名
.indexSort{
    position:position;
    top:0px;
    left: 0;
    width: 100%;
    height: 620px;
    .sortInfo{
        margin-top: 40px;
        h3{
            background: #Fff;
            border-radius: 8px 8px 0 0;
            height: 30px;
            position: relative;
            margin: 0 20px;
        }
        h3:before{
            content: "";
            display: block;
            width: 100%;
            height: 90px;
            position: absolute;
            top: -150%;
            left:0%;
            background: url(../img/sortInfoTitle.png) no-repeat center center;
            background-size: 50%;
        }
        ul{
          margin: 0 20px; 
          background: #Fff;
          border-radius: 0 0 8px 8px; 
        }
        li{
            display: flex;
            width: 100%;
            height: 40px;
            line-height: 40px;
            span{
                display: block;
                height: 100%;
                flex: 1;
                text-align: center;
                color: @sortcolor;
                font-weight: 500;
                .unvote{
                    display: block;
                    width: 80%;
                    height: 26px;
                    color: #fff;
                    background: url(../img/btnbg2.png) no-repeat center center;
                    background-size: 100%;
                    line-height: 22px;
                    font-size: 12px;
                    margin: 8px 0;
                    border:none;
                    border-radius: 4px;
                }
                .sortVote{
                    display: block;
                    width: 80%;
                    height: 22px;
                    color: #fff;
                    background: #969696;
                    border-radius: 4px;
                    line-height: 22px;
                    font-size: 12px;
                    margin: 8px 0;
                    border: none;
                }
            }
            span:nth-child(2){
                overflow: hidden;text-overflow:ellipsis;white-space: nowrap;
            }
        }
        .sortInfoListTitle{
            border-bottom: 1px solid #f00;
            font-weight: bolder;
        }
        
    }
    .sortChangePage{
        margin: 10px 4%;
        height: 30px;
        overflow: hidden;
        p{
            width: 30%;
            float: left;
            height: 30px;
            line-height: 30px;
            color: #FFFFFF;
        }
        ul{
            width: 70%;
            float: left;
            display: flex;
            li{
                flex: 1;
                height: 40px;
                text-align: center;
                a{
                    display: block;
                    width: 80%;
                    border-radius: 4px;
                    height: 26px;
                    background:@btntop; /* 一些不支持背景渐变的浏览器 */  
                    background:-moz-linear-gradient(top,@btntop, @btnbuttom);  
                    background:-webkit-gradient(linear, 0 0, 0 bottom, from(@btntop), to(@btnbuttom));  
                    background:-o-linear-gradient(top, @btntop, @btnbuttom); 
                    line-height: 26px;
                    text-align: center;
                    color: #fff;
                    margin: 0px auto;
                    box-shadow: 0px 1px 4px #717171;
                }
            } 
        }
    }
}